package com.zf.yichat.service;

import com.zf.yichat.dto.FanliGiveAndGoodsDetailDto;
import com.zf.yichat.dto.FanliGoodsReceiveDto;
import com.zf.yichat.model.FanliGoodsReceive;
import com.zf.yichat.utils.response.FsPage;
import com.zf.yichat.utils.response.FsResponse;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author idea
 * @date Created in 2020/11/9 14:06
 * @description
 */
public interface FanliService {
    FsResponse dgMaterialOptional(FsPage page, String query);

    FsResponse dgOptimusMaterial(FsPage page);

    FsResponse goodsQeury(FsPage page, String query);

    FsResponse getTrillItemList(FsPage page, String query);

    FsResponse getJfItems(FsPage page);

    FsResponse getJdUnionItems(FsPage page, String query, boolean isSkuId);

    FsResponse doItemCpsUrl(String query);

    FsResponse checkSusccess(Long id);

    FsResponse checkFail(Long id, String reason);

    BigDecimal countFanliMoney(BigDecimal zkFinalPrice, BigDecimal couponAmount, Integer commissionRate);

    FsResponse setTbkQdBeiAn(Long userId);

    FsResponse doItemHighCommissionPromotionLink(Long itemid);

    FsResponse doItemHighCommissionPromotionLinkByTpwd(String tpwdcode);

    FsResponse tbkOrderDetailsGet(Long userId, String startTime, String endTime);

    FsResponse createDaily(String content, Date date);

    FsResponse getDaily();

    FanliGoodsReceiveDto getFanliGoodsReceiveDto(FanliGoodsReceive v);

    FanliGiveAndGoodsDetailDto getFanliGiveAndReceiveDetailDto(FanliGiveAndGoodsDetailDto v);
}
